'use strict';

const Controller = require('../core/base_controller');

class ToExamineController extends Controller {
    async getList() {
        this.tc(await this.ctx.service.toExamine.getList());
    }
    //删除
    async del() {
        this.tc(await this.ctx.service.toExamine.del());
    }
    //添加
    async add() {
        this.tc(await this.ctx.service.room.add())
    }
    //编辑
    async edit() {
        this.tc(await this.ctx.service.toExamine.edit());
    }
}

module.exports = ToExamineController;
